package org.jadedanha.dao;

import java.sql.*;
import java.util.*;

import org.jadedanha.model.*;

public abstract class Dao {

    private Connection connection;

    public Dao() {
        this.connection = ConnectionFactory.getConnection();
    }

    public void setConnection(Connection connection) {
        this.connection = connection;
    }

    public Connection getConnection() {
        return this.connection;
    }
}
